import { Spin } from 'antd'

export default function Loading({ tip = 'loading' }: { tip?: string }) {
  return (
    <Spin
      tip={tip}
      size='large'
      style={{ height: '100%', position: 'absolute', top: '50%', left: '50%', transform: 'translate(-10%,-10%)' }}
    />
  )
}
